﻿Namespace Security

    Public Class ProcessGroupVO

        Private _code As String
        Private _groupName As String

        Sub New(entity As Data.BaseModel.ProcessGroup)
            code = entity.Code
            groupName = entity.Name
        End Sub

        Public Property code As String
            Get
                Return _code
            End Get
            Set(value As String)
                _code = value
            End Set
        End Property

        Public Property groupName As String
            Get
                Return _groupName
            End Get
            Set(value As String)
                _groupName = value
            End Set
        End Property


        Sub New()
        End Sub

        Sub New(code As String, name As String)
            Me.code = code
            Me.groupName = name
        End Sub

    End Class

End Namespace